package com.hy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("lesson")
public class Lesson implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "lessonName")
    private String lessonName;
    @TableField(value = "leassonPictureUrl")
    private String leassonPictureUrl;
    @TableField(value = "jumpUrl")
    private String jumpUrl;
    @TableField(value = "teacherId")
    private Integer teacherId;
    @TableField(value = "lessonDescription")
    private String lessonDescription;
    @TableField(value = "deleteFlag")
    private Integer deleteFlag;
    @TableField(value = "createTime")
    private Date createTime;
    @TableField(value = "updateTime")
    private Date updateTime;
    @TableField(exist = false)
    private String teacherName;
}
